package com.wetao.lib_common.bean;

import com.wetao.lib_common.utils.JsonUtils;

import java.io.Serializable;

/**
 * author: zhouyh
 * created on: 4/15/21 3:37 PM
 * description: 随堂小测接收指令bean
 */
public class AssignExamBean implements Serializable {


    /**
     * examId : 100
     * publishId : 200
     * isLine : 1(1在线2点阵)
     * examName : 随堂小测
     */

    private Integer examId;
    private Integer publishId;
    private Integer isLine;
    private String examName;

    public static AssignExamBean objectFromData(String str) {

        return (JsonUtils.getmGson()).fromJson(str, AssignExamBean.class);
    }

    public Integer getExamId() {
        return examId;
    }

    public void setExamId(Integer examId) {
        this.examId = examId;
    }

    public Integer getPublishId() {
        return publishId;
    }

    public void setPublishId(Integer publishId) {
        this.publishId = publishId;
    }

    public Integer getIsLine() {
        return isLine;
    }

    public void setIsLine(Integer isLine) {
        this.isLine = isLine;
    }

    public String getExamName() {
        return examName;
    }

    public void setExamName(String examName) {
        this.examName = examName;
    }
}
